package com.jinqing.wuchuang.service;

import com.jinqing.wuchuang.entity.FdfsFile;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.io.IOException;

public interface FileService {
    //上传文件
    String uploadFile(MultipartFile file) throws IOException;
    //删除文件，先根据id或其它属性，查询到 FdfsFile
    String deleteFile(FdfsFile file);
    String wordURL(MultipartFile file,Long uid,int companyId) throws IOException;

}
